﻿using System;

class Program
{
    static void Main()
    {
        int max = int.MinValue;
        for (int i = 0; i < 3; i++)
        {
            int n = int.Parse(Console.ReadLine());
            max = GetMax(max, n);
        }
        Console.WriteLine(max);
    }

    private static int GetMax(int max, int n)
    {
        if (n > max)
        {
            max = n;
        }
        return max;
    }
}
